package com.fuze.questionnaire.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sepc_
 * @date 10/15/2021 12:00
 * 问卷表实体
 */
@ApiModel(value="questionnaire_tab")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "questionnaire_tab")
public class Questionnaire implements Serializable {
    private static final long serialVersionUID = 1305190622163309743L;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 问卷名称
     */
    @TableField(value = "questionnaire_ame")
    @ApiModelProperty(value="问卷名称")
    private String questionnaireName;

    public static final String COL_ID = "id";

    public static final String COL_QUESTIONNAIRE_NAME = "questionnaire_name";
}